// 全局 CSS 变量
@import "./variables.css";
// Transition
@import "./transition.scss";
// Element Plus
@import "./element-plus.scss";
// 注册多主题
@import "./theme/register.scss";
// mixin
@import "./mixins.scss";
// 阿里图标库
@import "./iconfont/iconfont.css";
// 方平字体
// @import "./font/index.scss";

// 业务页面几乎都应该在根元素上挂载 class="app-container"，以保持页面美观
// .app-container {
//   // padding: 30px;
// }

.contentVal .el-textarea__inner {
  height: calc(100vh - 228px);
}

.flexStart {
  align-items: flex-start !important;
}

.flex1 {
  flex: 1;
}

.morePopoverZw {
  min-width: auto !important;
  border: none !important;
}

.defaultTable {
  .base-del {
    cursor: pointer;
  }

  border-radius: 10px;
  // background: #FFF;

  .el-table--enable-row-transition .el-table__body td.el-table__cell {
    border: none;
  }

  .el-table {
    border: none;
  }

  .el-table th.el-table__cell {
    background: transparent !important;
  }

  .el-table .cell {
    padding: 0;
    font-size: 14px;
    color: #666;
  }

  .el-table__inner-wrapper::before {
    height: 0;
  }
}

.dflex {
  display: flex;
  align-items: center;
}

.f14999 {
  font-size: 14px;
  color: #999;
}

.f14333 {
  font-size: 14px;
  color: var(--el-color-info);
}

.f14666 {
  font-size: 14px;
  color: #666;
  line-height: 23px;
}

.justify-content-end {
  justify-content: end !important;
}

.justify-between {
  justify-content: space-between;
}

html {
  height: 100%;
}

body {
  height: 100%;
  background-color: var(--v3-body-bg-color);
  // -moz-osx-font-smoothing: grayscale;
  // -webkit-font-smoothing: antialiased;
  // font-family: "proximanova-regular" !important;
  // @extend %scrollbar;
  margin: 0;
}

#app {
  height: 100%;
  // font-family: "proximanova-regular" !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  padding: 0;
  margin: 0;
}
a,
a:focus,
a:hover {
  color: inherit;
  outline: none;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.lh32 {
  line-height: 32px;
}

.w-100 {
  width: 100% !important;
}

// font
.f12999 {
  font-size: 12px;
  color: #999;
}

.f12666 {
  font-size: 12px;
  color: #666;
}

.f16999 {
  font-size: 16px;
  color: #999;
}

.f28333 {
  font-size: 28px;
  color: var(--el-color-info);
}

.f14999 {
  font-size: 14px;
  color: #999;
}

.f16333 {
  //styleName: 弹窗标题_加粗;
  font-size: 16px;
  font-weight: 400;
  color: var(--el-color-info);
}

.f16666 {
  font-size: 16px;
  color: #666;
}

.f18333 {
  font-size: 18px;
  color: var(--el-color-info);
}
.f20333 {
  font-size: 20px;
  color: #333;
}

.p20_0 {
  padding: 10px 0;
}

.el-card {
  box-shadow: none;
  border: none;
}

.m-20 {
  margin: 20px 0;
}

// 全局的dialog弹窗，title新增下划线
.el-dialog .el-dialog__header {
  border-bottom: 1px solid #e9e9e9;
  padding-right: unset !important;
  margin-right: unset;
}

.el-form--label-top .el-form-item {
  margin-bottom: 30px;
}

.el-form--label-top .el-form-item .el-form-item__label {
  font-size: 14px;
  color: #333;
}

.el-button {
  border-radius: 6px;
}

.box-card {
  box-shadow: none !important;
  border: none !important;
}

// 按ui要求修改adminDropdown
.adminDropdown {
  margin: -15px 0 0 20px;
  border: none !important;
  box-shadow: 0px 4px 12px 0px #3a33330d !important;

  .el-popper__arrow {
    display: none;
  }

  .el-dropdown-menu__item {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    padding: 8px 20px;
  }

  .el-dropdown-menu__item--divided {
    display: none;
  }

  .el-dropdown-menu {
    padding: 10px 0;
  }
}

// menu菜单的Popper
.menuPopperStyle {
  background: none !important;
  border: none !important;

  .simple-mode {
    padding: 0 !important;
  }

  .el-menu--popup {
    min-width: unset;
    // border-radius: 10px;
    display: inline-flex;
    padding: 8px 20px;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 20px;
    box-shadow: 0px 4px 12px 0px #3a33330d !important;

    .el-menu-item {
      height: unset;
      line-height: unset;
      padding: 10px 0;
      color: #666;
      .iconfont {
        padding-right: 10px;
      }
      &:hover {
        background: unset;
        color: var(--el-color-primary);
      }
    }
  }

  .el-menu-item:hover {
    background: unset;
  }
}

.el-tooltip__trigger,
.el-tooltip__trigger {
  border-radius: 10px;
}

@media screen and (max-width: 762px) {
  .isMedia {
    display: none;
  }
  .callbackInput {
    width: 100% !important;
    padding-right: 0 !important;
  }
}

.ml-10 {
  margin-left: 10px;
}

.m-10-0 {
  margin: 10px 0;
}

// dialogAdapter类型弹出适配
.dialogAdapter,
.previewer-image-dialog {
  max-width: 400px;
  min-width: 350px;
}

.previewer-image-dialog {
  max-width: 560px;
}

.flexShrink_0 {
  flex-shrink: 0;
}
.mr20 {
  margin-right: 20px;
}
.lh50 {
  line-height: 50px;
}
.m05 {
  margin: 0 5px;
}
.pl15 {
  padding-left: 15px;
}
.mb-50 {
  margin-bottom: 50px;
}
.m-30-0 {
  margin: 30px 0;
}

// 全局按钮加大
.el-button {
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
}
// defaultTable表格超出省略号
.defaultTable .el-table .cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tag-item {
  // margin: -15px 0 0 20px;
  border: none !important;
  box-shadow: 0px 4px 12px 0px rgba(58, 51, 51, 0.0509803922) !important;
  .is-link {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    // padding: 8px 20px;
  }
  .el-button {
    justify-content: normal;
    margin-left: 0;
  }
}
.text-right {
  text-align: right;
}
